//
//  UIImageView+Extension.swift
//  Weibo
//
//  Created by 张婷 on 15/10/16.
//  Copyright © 2015年 itheima. All rights reserved.
//

import UIKit

extension UIImageView {
    
    convenience init(imageName: String){
        self.init(image: (UIImage(named: imageName)))
        self.sizeToFit()
    }
}
